<template>
  <div>
    <el-table :data="keys">
      <el-table-column label="key" prop="key"></el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "list",
  data() {
    return {
      keys: []
    }
  },
  created() {
    this.load()
  },
  methods: {
    load() {
      this.$axios.get('/keys').then((r) => {
        this.keys = r.data
      })
    }
  }
}
</script>

<style scoped>

</style>
